package soot.we.android.callGraph;

import java.util.ArrayList;

public class AndroidLifeCycleCallGraph {

	private ArrayList<String> CycleSequence1 = new ArrayList<String>();
	private ArrayList<String> CycleSequence2 = new ArrayList<String>();
	private ArrayList<String> CycleSequence3 = new ArrayList<String>();
	
	
	public void getActivityAndroidLifeCycleCallGraph() {
		
		String[] temp= {"onCreate","onStart","onResume","ActivityRunning","onPause","onStop","onDestroy"};
		StringsToArraylist(CycleSequence1,temp);
		
		String[] temp2= {"onRestart","onStart","onResume","ActivityRunning","onPause","onStop","onDestroy"};
		StringsToArraylist(CycleSequence2,temp2);
		
		
		String[] temp3= {"onCreate","onStart","onResume","ActivityRunning","onPause","onStop","onRestart"};
		StringsToArraylist(CycleSequence3,temp3);
	}
	public void StringsToArraylist(ArrayList<String> Sequence,String[] temp) {
		
		for(int i=0;i<temp.length;i++)
			Sequence.add(temp[i]);
	}
}
